class LoginTokenModel {
  String? token;
  final String? tokenType;
  final String? refreshToken;
  final String? expired;
  final String? refreshExpired;

  LoginTokenModel({
    this.token,
    this.tokenType,
    this.refreshToken,
    this.expired,
    this.refreshExpired,
  });

  factory LoginTokenModel.fromJson(dynamic json) {
    return LoginTokenModel(
      token: json['token']?.toString(),
      tokenType: json['tokenType']?.toString(),
      refreshToken: json['refreshToken']?.toString(),
      expired: json['expired']?.toString(),
      refreshExpired: json['refreshExpired']?.toString(),
    );
  }
}
